from BasePage import BasePage
import time


class InstallPage(BasePage):
    _isOk = (BasePage.ID, "com.zoneyet.gaga:id/ok")
    _enterBtn = (BasePage.ID, "com.zoneyet.gaga:id/btn_enter")

    def install_success(self):
        time.sleep(3)
        self.click(self._isOk)
        time.sleep(3)
        self.swipe_left()
        time.sleep(3)
        self.swipe_left()
        time.sleep(3)
        self.swipe_left()
        time.sleep(3)
        self.click(self._enterBtn)


